package Edchl7;

import com.orion.symphonia3.MessageElement;
import com.orion.symphonia3.MessageComponent;

public class EDC_HL7FldXAD extends MessageComponent{
	
	//Declarations

	public EDC_HL7FldST StreetAddress;
	public EDC_HL7FldST OtherDesignation;
	public EDC_HL7FldST City;
	public EDC_HL7FldST StateOrProvince;
	public EDC_HL7FldST ZipOrPostalCode;
	public EDC_HL7FldST Country;
	public EDC_HL7FldST AddressType;
	public EDC_HL7FldST OtherGeographicDesignation;
	public EDC_HL7FldST CountyOrParishCode;
	public EDC_HL7FldST CensusTract;
	public EDC_HL7FldST AddressRepresentationCode;

	//Constructor
	public EDC_HL7FldXAD(MessageElement elem) {
		super(elem);
		StreetAddress = new EDC_HL7FldST(elem.getElementAt("StreetAddress"));
		OtherDesignation = new EDC_HL7FldST(elem.getElementAt("OtherDesignation"));
		City = new EDC_HL7FldST(elem.getElementAt("City"));
		StateOrProvince = new EDC_HL7FldST(elem.getElementAt("StateOrProvince"));
		ZipOrPostalCode = new EDC_HL7FldST(elem.getElementAt("ZipOrPostalCode"));
		Country = new EDC_HL7FldST(elem.getElementAt("Country"));
		AddressType = new EDC_HL7FldST(elem.getElementAt("AddressType"));
		OtherGeographicDesignation = new EDC_HL7FldST(elem.getElementAt("OtherGeographicDesignation"));
		CountyOrParishCode = new EDC_HL7FldST(elem.getElementAt("CountyOrParishCode"));
		CensusTract = new EDC_HL7FldST(elem.getElementAt("CensusTract"));
		AddressRepresentationCode = new EDC_HL7FldST(elem.getElementAt("AddressRepresentationCode"));
	}

}
